﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CoreShop.Model
{
    /// <summary>
    /// 商品加料表
    /// </summary>
    public partial class corecmsfooddetailfeed
    {
        /// <summary>
        /// 序列
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "id", IsPrimaryKey = true)]
        public Int64 id { get; set; }

        /// <summary>
        /// 品牌id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "corpId", IsNullable = false)]
        public Int32 corpId { get; set; }

        /// <summary>
        /// 门店id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "storeId", IsNullable = false)]
        public long storeId { get; set; }

        /// <summary>
        /// 商品id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "foodId", IsNullable = false)]
        public Int64 foodId { get; set; }
        /// <summary>
        /// 是否默认
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "isDefault", IsNullable = true)]
        public bool? isDefault { get; set; }

        /// <summary>
        /// 加料id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "feedId", IsNullable = false)]
        public Int64 feedId { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "isDelete", IsNullable = false)]
        public bool? isDelete { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "createTime", IsNullable = false)]
        public DateTime? createTime { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "updateTime", IsNullable = true)]
        public DateTime? updateTime { get; set; }

        /// <summary>
        /// selectType
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "selectType", IsNullable = true)]
        public Int32? selectType { get; set; }

        /// <summary>
        /// 必选数量
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "minQuantity", IsNullable = true)]
        public Int32? minQuantity { get; set; }
        /// <summary>
        /// 最多可选数量
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "maxQuantity", IsNullable = true)]
        public Int32? maxQuantity { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "modifyTime", IsNullable = true)]
        public Int64? modifyTime { get; set; }

    }
}
